package com.crois.barrier.admin.mapstruct;

import com.crois.barrier.admin.dto.IpBlackWhiteListDto;
import com.crois.barrier.admin.entity.IpBlackWhiteList;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.List;

/**
* barrier 插件数据表实体互转
*
* @author Hou Ze Yu
* @version 1.0
* @date 2021-10-25 11:58:28
**/
@Mapper
public interface IpBlackWhiteDtoEntityMapper {

    IpBlackWhiteDtoEntityMapper INSTANCE = Mappers.getMapper(IpBlackWhiteDtoEntityMapper.class);


    IpBlackWhiteListDto toIpBlackWhiteListDto(IpBlackWhiteList ipBlackWhiteList);


    IpBlackWhiteList toIpBlackWhiteListEntity(IpBlackWhiteListDto ipBlackWhiteListDto);


    List<IpBlackWhiteList> toIpBlackWhiteListDtoList(List<IpBlackWhiteList> ipBlackWhiteListList);
}
